<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}base模板文件的title{% endblock title %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <h1>base模板的header</h1>

    {% block b1 %}
        <h2>base父模板的block1</h2>
    {% endblock b1 %}

    {% block b2 %}
        <h2>base模板的block2</h2>
    {% endblock b2 %}

    <h1>base模板的footer</h1>
</body>
</html>